projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06671a7
)
Fix use of wrong event structure handling XI_Enter events
author
Po Lu
<luangruo@yahoo.com>
Tue, 24 May 2022 05:50:07 +0000
(13:50 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 24 May 2022 05:50:07 +0000
(13:50 +0800)
* src/xterm.c (handle_one_xevent): Use `enter' instead of `xev'
to set the mouse click timeout.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f86ec0fad396b001d765de3b6af7dc4c35b68f5b..9edec9dbeb609ff795be2de922fcb7df281d8d6f 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-17505,7
+17505,7
@@
handle_one_xevent (struct x_display_info *dpyinfo,
if (f && x_mouse_click_focus_ignore_position)
{
- ignore_next_mouse_click_timeout =
xev
->time + 200;
+ ignore_next_mouse_click_timeout =
enter
->time + 200;
mouse_click_timeout_display = dpyinfo;
}